package cn.wei.sdd.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wei
 * @since 2021-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BannerInfo对象", description="")
public class BannerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "banner的类型(1视频，2图片)")
    private Integer type;

    @ApiModelProperty(value = "	上下架状态(0下架，1上架)")
    private Integer status;

    @ApiModelProperty(value = "	banner的url路径")
    private String bannerUrl;

    @ApiModelProperty(value = "展示时长(以秒为单位)")
    private Integer durationTime;

    @ApiModelProperty(value = "跳转类型(0不调转，1站内，2网页)")
    private Integer jumpType;

    @ApiModelProperty(value = "附加数据(例如配置站内跳转的路径或者网页跳转的url)")
    private String data;

    @ApiModelProperty(value = "banner的开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "	banner的结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除(1是0否)")
    private Integer isDelete;


}
